package top.eggcode.plugins.session;

import java.io.Serializable;
import java.util.UUID;

/**
 * Title:
 * Description: TODO
 * Date: 2021/6/10 9:18
 *
 * @author JiaQi Ding
 * @version 1.0
 */
public class SimpleIdGenerator implements IdGenerator {

    @Override
    public Serializable generateId(Session session) {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
